<template>
  <a-result status="403" title="无权限" sub-title="抱歉、您没有相应页面的权限">
    <template #extra>
      <a-button type="primary" @click="toHome">
       切换账号
      </a-button>
    </template>
  </a-result>
</template>

<script>
import { CURRENT_PATH, CURRENT_SELECT_APP, OPEN_MENU_KEY, SELECT_MENU } from '@/store/mutation-types'

export default {
  name: 'Exception403',
  methods: {
    toHome () {
      this.$store.dispatch('Logout').then(()=>{
       window.location.reload()
      })
    }
  }
}
</script>
